<!DOCTYPE html>
<html lang="en">

<head>
    <title>网上商城</title>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link rel="shortcut icon" href="favicon.ico">
    <link href="css/uikit.min.css" rel="stylesheet">
    <link href="css/uikit.almost-flat.min.css" rel="stylesheet">
    <link href="css/components/form-advanced.css" rel="stylesheet">
    <script src="js/commhelper.js"></script>
    <script src="js/jquery-3.2.1.min.js"></script>
    <script src="js/uikit.min.js"></script>
</head>

<body class="uk-height-1-1">
    <div class="uk-grid" data-uk-grid-margin>
        <div class="uk-width-1-1">
            <nav class="uk-navbar uk-navbar-attached">
                <a href="index.html" class="uk-navbar-brand uk-hidden-small"><i class="uk-icon-shopping-bag"></i>&nbsp;&nbsp;网上商城</a></a>
                <!-- <div class="uk-navbar-flip">
                    <ul class="uk-navbar-nav">
                        <li class="uk-active"><a href="login.html"><i class="uk-icon-sign-in"></i>&nbsp;&nbsp;登录</a></li>
                    </ul>
                </div> -->
            </nav>
        </div>
    </div>
    <div class="uk-vertical-align uk-text-center uk-height-1-1" data-uk-grid-margin>
        <div class="uk-vertical-align-middle" style="width:250px; margin-top:50px">
            <h3 style="font-size:18pt">网上商城</h3>

            <form class=" uk-panel uk-panel-box uk-form" onsubmit="return false">
                <div class="uk-form-row">
                    <input id="loginname" type="text" class="uk-width-1-1 uk-form-large" placeholder="登录名">
                </div>
                <div class="uk-form-row">
                    <input id="password" type="password" class="uk-width-1-1 uk-form-large" placeholder="密码">
                </div>
                <div class="uk-form-row" style="float:left;font-size:12px;margin-top:2px;height:30px">
                    <label><input type="checkbox"> 记住密码</label>
                </div>
                <div class="uk-form-row">
                    <button id="btnLogin" class="uk-width-1-1 uk-button uk-button-primary uk-button-large">登&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;录</button>
                </div>
                <div class="uk-form-row" style="margin-bottom:2px;">
                    <a href="register.html" style="margin-bottom:2px;float:left"> 注册</a> <a href="resetpwd1.html" style="margin-bottom:2px;float:right">忘记密码</a>
                </div>
            </form>
        </div>
    </div>
    <script src="js/login.js"></script>
    <script type="text/javascript">
        var loginname = sessionStorage.getItem("loginname");
        if (loginname != "") {
            $("#loginname").val(loginname);
        }
    </script>

</body>

</html>